7154799ab84832bdb124f4dc49460c4e1d7c1190,maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/ReportTestSuite.java,ReportTestSuite,startElement,#String#String#String#Attributes#,76
Before Change
{
if ( "testsuite".equals( qName ) )
{
numberOfErrors = Integer.parseInt( attributes.getValue( "errors" ) );
numberOfFailures = Integer.parseInt( attributes.getValue( "failures" ) );
After Change
return 0;
}
public void startElement( String uri, String localName, String qName, Attributes attributes )
throws SAXException
{
try
{
if ( "testsuite".equals( qName ) )
{
numberOfErrors = getAttributeAsInt( attributes, "errors" );
numberOfFailures = getAttributeAsInt( attributes, "failures" );
numberOfSkipped = getAttributeAsInt( attributes, "skipped" );
numberOfTests = getAttributeAsInt( attributes, "tests" );